package test1223;

public class Test06 {
    public static void main(String[] args) {

        // 打印1,3,5,7,9
        for (int i = 1; i < 11; i++) {
            if (i == 2||i == 4||i == 6||i == 8||i == 10) {
                continue;}
                System.out.println(i);}
        // 打印10,8,6,4,2
        for (int i = 11; i>1 ; i--) {
            if (i == 9||i == 7||i == 5||i == 3||i == 1) {
                continue;}
            System.out.println(i);}
    }
}
